package com.utils.scheduler;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

import java.util.Date;

/**
 * 描述:
 * author:
 * date: 2021-01-18
 */
@Component
public class Scheduler {

    private static Logger logger = LoggerFactory.getLogger(Scheduler.class);

//    @Scheduled(cron = "0/5 * * * * ?")
//    public void test(){
//        logger.info(new Date().toString());
//    }

}
